<div id="ajax_follow">
  <g:hasErrors bean="${status}">
    <div class="errors">
      <g:renderErrors bean="${status}" as="list"/>
    </div>
  </g:hasErrors>
  <g:form name="follow" method="post">
    <g:submitToRemote name="followSubmit" value="Unfollow"
        url="[action:'unfollow', id:username]" update="ajax_follow"
        before="this.disabled = true;" after="this.disabled = false;"/>
  </g:form>
</div>
